﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BehaviorFramework
{
    /// <summary>
    /// marks a property as unobservable.
    /// </summary>
     [System.AttributeUsage(AttributeTargets.Property | AttributeTargets.Class)]
    public class NonObservable: Attribute
    {
    }

     [System.AttributeUsage(AttributeTargets.Method)]
     public class UseCommandBehavior : Attribute
     {
         public string CanExecuteMethodName { get; set; }
         public UseCommandBehavior(string canExecuteMethodName = "")
         {
             CanExecuteMethodName = canExecuteMethodName;
         }
     }
}
